<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:af="http://xmlns.oracle.com/adf/faces/rich" 
      xmlns:cc="http://java.sun.com/jsf/composite">
    <cc:interface>
        <cc:attribute name="nameLable"/>
        <cc:attribute name="nameValue"/>
        <cc:attribute name="passwordLable"/>
        <cc:attribute name="passwordValue"/>
        <cc:attribute name="registerButtonAction" method-signature="java.lang.String action()"/>
    </cc:interface>
    <cc:implementation>
        <af:panelBox text="#{res['login']}">
            <af:panelFormLayout>
                <af:inputText label="#{cc.attrs.nameLable}" value="#{cc.attrs.nameValue}" columns="30"/>
                <af:inputText label="#{cc.attrs.passwordLable}" value="#{cc.attrs.passwordValue}" secret="true"
                              columns="30"/>
                <af:commandButton action="#{cc.attrs.registerButtonAction}" partialSubmit="true"  text="Login">                
                 
                </af:commandButton>
            </af:panelFormLayout>
        </af:panelBox>
    </cc:implementation>
</html>



